package routers

import (
	"myproject/controllers"
	"github.com/astaxie/beego"
)


func init() {
    beego.Router("/", &controllers.MainController{})
	// beego.Router("/user", &controllers.UserController{})	
	beego.Router("/test", &controllers.TestContronller{}, "get:SelfTest")

	beego.Router("/abc", &controllers.TestContronller{}, "get:Abc")

	beego.Router("/username", &controllers.TestContronller{}, "get:Username")

	
	beego.Router("/home/index", &controllers.HomeContronller{}, "get:Index")
	beego.Router("/api/index", &controllers.ApiContronller{}, "get:Index")

}
